/*
 * Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
 * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
 */

package org.jetbrains.kotlin.kapt.cli.test;

import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil;
import org.jetbrains.kotlin.test.TestMetadata;
import org.junit.jupiter.api.Test;

import java.io.File;
import java.util.regex.Pattern;

/** This class is generated by {@link org.jetbrains.kotlin.generators.tests.GenerateTestsKt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all")
@TestMetadata("plugins/kapt3/kapt3-cli/testData/integration")
@TestDataPath("$PROJECT_ROOT")
public class KaptToolIntegrationTestGenerated extends AbstractKaptToolIntegrationTest {
  @Test
  public void testAllFilesPresentInIntegration() {
    KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kapt3/kapt3-cli/testData/integration"), Pattern.compile("^([^\\.]+)$"), null, false);
  }

  @Test
  @TestMetadata("aptError")
  public void testAptError() {
    runTest("plugins/kapt3/kapt3-cli/testData/integration/aptError/");
  }

  @Test
  @TestMetadata("argfile")
  public void testArgfile() {
    runTest("plugins/kapt3/kapt3-cli/testData/integration/argfile/");
  }

  @Test
  @TestMetadata("correctErrorTypesOff")
  public void testCorrectErrorTypesOff() {
    runTest("plugins/kapt3/kapt3-cli/testData/integration/correctErrorTypesOff/");
  }

  @Test
  @TestMetadata("correctErrorTypesOn")
  public void testCorrectErrorTypesOn() {
    runTest("plugins/kapt3/kapt3-cli/testData/integration/correctErrorTypesOn/");
  }

  @Test
  @TestMetadata("defaultPackage")
  public void testDefaultPackage() {
    runTest("plugins/kapt3/kapt3-cli/testData/integration/defaultPackage/");
  }

  @Test
  @TestMetadata("fallback")
  public void testFallback() {
    runTest("plugins/kapt3/kapt3-cli/testData/integration/fallback/");
  }

  @Test
  @TestMetadata("kotlinFileGeneration")
  public void testKotlinFileGeneration() {
    runTest("plugins/kapt3/kapt3-cli/testData/integration/kotlinFileGeneration/");
  }

  @Test
  @TestMetadata("kotlinFileGenerationCorrectErrorTypes")
  public void testKotlinFileGenerationCorrectErrorTypes() {
    runTest("plugins/kapt3/kapt3-cli/testData/integration/kotlinFileGenerationCorrectErrorTypes/");
  }

  @Test
  @TestMetadata("kotlinFileGenerationDefaultOutput")
  public void testKotlinFileGenerationDefaultOutput() {
    runTest("plugins/kapt3/kapt3-cli/testData/integration/kotlinFileGenerationDefaultOutput/");
  }

  @Test
  @TestMetadata("kt33800")
  public void testKt33800() {
    runTest("plugins/kapt3/kapt3-cli/testData/integration/kt33800/");
  }

  @Test
  @TestMetadata("multipass")
  public void testMultipass() {
    runTest("plugins/kapt3/kapt3-cli/testData/integration/multipass/");
  }

  @Test
  @TestMetadata("separateStubAptCompilation")
  public void testSeparateStubAptCompilation() {
    runTest("plugins/kapt3/kapt3-cli/testData/integration/separateStubAptCompilation/");
  }

  @Test
  @TestMetadata("simple")
  public void testSimple() {
    runTest("plugins/kapt3/kapt3-cli/testData/integration/simple/");
  }

  @Test
  @TestMetadata("withoutService")
  public void testWithoutService() {
    runTest("plugins/kapt3/kapt3-cli/testData/integration/withoutService/");
  }
}
